package edu.hcmus.sow.web.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/admin")
public class RepositoryController {
   @RequestMapping(value = { "", "/" })
   public String home() {
      return "forward:/admin/repositories";
   }

   @RequestMapping(value = "/repositories")
   public String listRepositories() {
      return "admin/repositories";
   }
}
